package com.whfc.fmam.map;

import com.whfc.fmam.entity.bo.FmamMatType;
import com.whfc.fmam.entity.dto.FmamMatTypeDTO;
import com.whfc.fmam.entity.dto.SyncFmamMatTypeDTO;
import com.whfc.fmam.entity.qo.MatImportQO;
import com.whfc.fmam.entity.qo.MatTypeAddQO;
import com.whfc.fmam.entity.qo.MatTypeEditQO;
import org.mapstruct.Mapper;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/10/16 15:07
 */
@Mapper(componentModel = "spring")
public interface MatTypeMap {

    SyncFmamMatTypeDTO to(FmamMatType matType);

    FmamMatType to(MatTypeAddQO record);

    FmamMatType to(MatTypeEditQO record);

    FmamMatType to(MatImportQO matImportQO);

}
